-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Polycone
#451
Add Polycone
#451
Conversation
So, I updated the geometry in the splitted inverted coaxial example config file now, so that it will not affect anything in the ICPC tutorial. However, the Geant4 tests will now run with the polycone geometry to have some testing there. |
@@ -56,7 +56,7 @@ end | |||
@testset "Run Geant4 simulations" begin | |||
|
|||
# Create G4JLApplication | |||
sim = Simulation{T}(SSD_examples[:InvertedCoax]) | |||
sim = Simulation{T}(SSD_examples[:InvertedCoaxInCryostat]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This way, we will also try out parsing another material and more geometries.
so far for the ClosedPrimitive
I added
polycone
to the geometries, which can be defined as a set of points inr
andz
:It follows the same logic as the G4GenericPolycone.
Note: I also updated the example inverted coaxial detector geometry to use
polycone
instead of a difference oftubes
andcones
. The results seem to be identical (all tests still pass). However, we can discuss to revert this and to keep the original file as is (especially usingdifference
, which might be good guidance for people wanting to do more complicated CSG stuff.This should close #449.